import request from "@/util/request";

export function saveOrUpdate(data, id) {
    return request({
        url: 'logicArrange/saveOrUpdate?id=' + id,
        method: 'post',
        data: data
    });
}

export function getById(id) {
    return request({
        url: 'logicArrange/getById?id=' + id,
        method: 'get',
    });
}